/**
 * 
 */
package org.andy.dbmove.manager;

/**
 * @author yanwei
 * 
 */
public class Columns {
	private int colNum;// 字段序号
	private String colName;
	private boolean prmkey;// 是否主键
	private String colType;
	private int length;
	private boolean nullAble;// 是否为空
	private String defaultValue;// 字段默认值
	private boolean isAuto;

	public Columns() {
	}

	public Columns(int colNum, String colName,boolean isAuto, boolean prmkey,
			String colType, int length, boolean nullAble, String defaultValue,
			String comment) {
		super();
		this.colNum = colNum;
		this.colName = colName;
		this.isAuto= isAuto;
		this.prmkey = prmkey;
		this.colType = colType;
		this.length = length;
		this.nullAble = nullAble;
		this.defaultValue = defaultValue;
		this.comment = comment;
	}

	public boolean isAuto() {
		return isAuto;
	}

	public void setAuto(boolean isAuto) {
		this.isAuto = isAuto;
	}

	public int getColNum() {
		return colNum;
	}

	public void setColNum(int colNum) {
		this.colNum = colNum;
	}

	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public boolean isPrmkey() {
		return prmkey;
	}

	public void setPrmkey(boolean prmkey) {
		this.prmkey = prmkey;
	}

	public String getColType() {
		return colType;
	}

	public void setColType(String colType) {
		this.colType = colType;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public boolean isNullAble() {
		return nullAble;
	}

	public void setNullAble(boolean nullAble) {
		this.nullAble = nullAble;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	private String comment;// 字段注释
}
